package com.gitee.cc.system.enums;

import lombok.Getter;

/**
 * @author : cc
 * @date : Create in 14:31 2018/10/29
 */
@Getter
public enum AuthExceptionEnum {
    USERNAME_NOT_EXIST(1,"用户名不存在"),
    USER_PASSWORD_ERROR(2,"密码错误")
    ;


    AuthExceptionEnum(int code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    private int code;
    private String msg;

}
